import { createApp } from 'vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import 'element-plus/theme-chalk/display.css'
import scui from './scui'
import i18n from './locales'
import router from './router'
import store from './store'
import App from './App.vue'
import WujieVue from "wujie-vue3";
// const {bus} = WujieVue;

const app = createApp(App);

app.use(store);
app.use(router);
app.use(ElementPlus);
app.use(i18n);
app.use(scui);




// bus.$on("sub-route-change", (name, path) => {
//   console.log(name,path);
//   console.log(router.currentRoute);
// });






app.use(WujieVue);
//挂载app
app.mount('#app');
